<?php /* Smarty version Smarty-3.0.7, created on 2012-07-03 15:31:53
         compiled from "D:\wamp\www/template/templates\store/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:299184ff29fe932d184-32669894%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '342256d9b2ab9c90f6c17fcec804d548600c1b35' => 
    array (
      0 => 'D:\\wamp\\www/template/templates\\store/index.tpl',
      1 => 1341281588,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '299184ff29fe932d184-32669894',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include 'D:\wamp\www\library\package\smarty\plugins\modifier.truncate.php';
?><!DOCTYPE html>
<html lang="zh-CN" dir="ltr">
<head>    
    <title><?php echo $_smarty_tpl->getVariable('Account')->value['CompanyName'];?>
-企业商铺-<!--#include virtual='/data/seo/public.title.seo'--></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="Keywords" content="" />
    <meta name="Description" content="" />
	<link rel="stylesheet" href="/styles/public.css" />
    <link rel="stylesheet" href="/styles/cp.css" />
    <script type="text/javascript" src="/scripts/jquery-1.7.1.min.js"></script>
</head>

<body>
    <div id="bg_all">
        <!--#include virtual="/template.inset/public.header.top.shtml"-->
		<?php $_template = new Smarty_Internal_Template("store/public.header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
        <div class="wmie">
			<?php $_template = new Smarty_Internal_Template("store/public.left.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>            	
            <div class="right_box">
               	<?php $_template = new Smarty_Internal_Template("store/public.search.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
                <div class="sub_box">
                    <h2><b></b>公司介绍<span><a href="/exec.php?action=store_intro&id=<?php echo $_smarty_tpl->getVariable('Account')->value['ID'];?>
" target="_self">>> 更多</a></span></h2>
                    <div class="box_r">
						<?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Account')->value['Intro'],600,"..");?>

                    </div>
                </div>
                <div class="sub_box " style="clear:left">
                    <h2><b></b>供应产品<span><a href="/exec.php?action=store_supply&id=<?php echo $_smarty_tpl->getVariable('Account')->value['ID'];?>
" target="_self">>> 更多</a></span></h2>

                    <div class="productsList">
                        <ul>
                        	<?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Supplies')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                            <li>
                            	<a href="/exec.php?action=transaction_supply_info&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
"  target="_blank">
                                    <img src="<?php echo $_smarty_tpl->getVariable('Row')->value['ThumbnailPath'];?>
" onerror="this.src='/images/sw_cp_cate_pic01.gif';" alt="">
                                </a><br>
                                <p><a href="/exec.php?action=transaction_supply_info&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target=_"blank"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Row')->value['Title'],10,"..");?>
</a></p>
                            </li>
                            <?php }} ?>
                        </ul></div>
                </div>
                <div class="sub_box " style="clear:left">
                    <h2><b></b>采购产品<span><a href="/exec.php?action=store_procurement&id=<?php echo $_smarty_tpl->getVariable('Account')->value['ID'];?>
" target="_self">>> 更多</a></span></h2>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="buy_pro">
                        <tr>
                            <th>序号</th>
                            <th>产品名称</th>
                            <th>规格/型号</th>
                            <th>单位</th>
                            <th>数量</th>
                           <!-- <th class="td03" >在线报价</th>-->
                        </tr>
                        <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Procurements')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']["Procurement"]['index']=-1;
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']["Procurement"]['index']++;
?>
                        <tr>
                            <td class="td01"><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['Procurement']['index']+1;?>
</td>
                            <td>
                            	<a href="/exec.php?action=transaction_procurement_info&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target="_blank">
                            		<?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Row')->value['Title'],15,"..");?>

								</a>                                    
							</td>
                            <td><?php echo $_smarty_tpl->getVariable('Row')->value['Norms'];?>
</td>
                            <td><?php echo $_smarty_tpl->getVariable('Row')->value['Unit'];?>
</td>
                            <td><?php echo $_smarty_tpl->getVariable('Row')->value['Amount'];?>
</td>
                            <!--<td><a href="/exec.php?action=transaction_enquiry_add"><img src="/images/ex_pur_btn05.gif" alt=""></a></td>-->
                        </tr>
                        <?php }} ?>
                    </table>
                </div>
            </div>
        </div>
        <div class="invest_pic clear"><a href="#" target="_blank"><img src="/images/in_pic.gif" alt=""></a></div>
        <!--#include virtual="/template.inset/public.footer.shtml"-->
    </div>
</body>
</html>
